<template>
  <div>
    <a v-bind:href="link" v-bind:title="title">点击去baidu</a>
    <a :href="link" :title="title">点击去baidu</a>
  </div>
</template>

<script>
export default {
  data() {
    return {
      link: "http://www.baidu.com",
      title: "我是标题",
    };
  },
};
</script>

<style scoped></style>
>
